package stringbuilder01;
/*
  StringBuilder的append方法的返回值:它的返回值返回的是原容器对象
 */
public class StringBuilderDemo06 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();
        StringBuilder sb2 = sb.append(9);
        sb2.append("abc");
        System.out.println(sb);
        System.out.println(sb2);
    }
}
